import request from "@/util/request.js"


export function updateUser(param) {
	return request({
		url: '/auth/user/update',
		method: 'post',
		data: param
	})
}

export function obtainVerifyCode(param) {
	return request({
		url: '/auth/user/sendAuthCode',
		method: 'post',
		data: param
	})
}

export function register(param) {
	return request({
		url: '/auth/user/register',
		method: 'post',
		data: param
	})
}

export function getUser(param) {
	return request({
		url: '/auth/user/get',
		method: 'post',
		data: param
	})
}

export function getUserWithoutToken(param) {
	return request({
		url: '/auth/user/getWithoutToken',
		method: 'post',
		data: param
	})
}
